.material-publish-container {
  .form-block{
    padding-top: 20rpx;
    .form-item{
      min-height: 100rpx;
      background: #fff;
      margin-bottom: 20rpx;
      padding: 0 24rpx;

      .content{
        padding: 20rpx 0;
        textarea{
          width: 100%;
          height: 200rpx;
        }
      }
      .resource{
        width: 600rpx;
        .resource-item{
          width: 150rpx;
          height: 150rpx;
          position: relative;
          display: inline-block;
          margin: 0 30rpx 20rpx 0;
          .img{
            width: 100%;
            height: 100%;
          }
          .imgText {
            color: #fff;
            font-size: 20rpx;
            text-align: center;
            
            left: 10rpx;
            right: 10rpx;
            top: 105rpx;
            position: absolute;
          }
          .play-button{
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            .icon-play{
              width: 60rpx;
              height: 60rpx;
            }
          }
          .icon-del {
            position: absolute;
            width: 26rpx;
            height: 26rpx;
            right: -8rpx;
            top: -15rpx;
            z-index: 1;
          }
        }
      }

      .tag-block{
        padding-bottom: 20rpx;
        .tag-title{}
        .tag-list{
          .tag-item{
            @include text-ellipsis;
            color: #999;
            text-align: center;
            width: 160rpx;
            line-height: 60rpx;
            margin: 20rpx 20rpx 0 0;
            display: inline-block;
            background: #f5f5f5;
            vertical-align: top;

            &.active{
              color: #fff;
              background: #000;
            }

            &:nth-child(4n){
              margin-right: 0;
            }
          }
        }
      }

      .icon-right{
        width: 12rpx;
        height: 22rpx;
      }
      

      &.flex{
        @include flex;
        @include a-center;

        .sub-item{
          @include sub-item;
          line-height: 80rpx;
          min-height: 80rpx;
        }
      }
    }

    .goods-list{
      // padding-bottom: 20rpx;
      .goods-item-container{
        padding: 20rpx 10rpx;
        margin-bottom: 20rpx;
        background: #fff;
        .goods-item{
          .goods-img{
            border-radius: 0;
          }
        }
      }
    }

    .publish-btn {
      padding: 40rpx 0;
      width: 90%;
      margin-left: 5%;
      .btnColor {
        border-radius: 0;
        color: #fff;
        background-color: #000000 !important;
      }
    }
  }

  .mask-video-box{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background-color: #000;
    width: 100%;
    height: 100%;
    .mask-video{
      width: 100%;
      height: 100%;
    }
    .close{
      position: absolute;
      top: 50rpx;
      // #ifdef MP-WEIXIN
      top: 100rpx;
      // #endif
      left: 50rpx;
      width: 50rpx;
      height: 50rpx;
    }
  }

  .upload-popup {
    padding-bottom: 30rpx;
    background-color: rgba(0, 0, 0, 0.5);

    .select-box {
      background-color: #fff;
      border-radius: 20rpx;
      margin: 0 30rpx 30rpx 30rpx;

      &:nth-child(2) {
        margin: 0 30rpx 0rpx 30rpx;
      }
    }

    .select-item {
      width: 690rpx;
      height: 100rpx;
      line-height: 100rpx;
      color: #007AFF;
      font-size: 30rpx;
      text-align: center;
      border-bottom: 2rpx solid $color-border;

      &:nth-last-child(1) {
        border: none;
      }
    }
  }
}